package day.day04;
import java.util.Scanner;//导入一个扫描仪
public class ScannerDemo {
    public static void main(String[] args) {
          Scanner sc = new Scanner(System.in);
        System.out.println("输入年龄：");
          int age = sc.nextInt();
        System.out.println(age);
        System.out.println("请输入价格");
        double price = sc.nextDouble();
        System.out.println(price);

    }
}
